Fixing issue with firefox