don't alert warning on some browser, creates unexpected behaviors in IE