fixed firefox detection