fixed firefox buge and things