fixed firefox issue