removed obsolete console error from non-obsolete functions