Fix a issue with firefox