Fixed bug in Firefox