The influential factors of worker’s attitudes toward safety in a workplace