fixed firefox support