console error messages fix