fix firefox error