remove pop up for errors instead log to console