Fixed error in Firefox