fixed analytics bug in Firefox