fix the problem with firefox