fixed firefox issues