fixed style compare in Firefox