Avoid errors in console