fixing the error log for all browser types