Machinery emitting sparks at factory