Fixed a problem in Firefox