bugfix with firefox