removing function names from error messages

Found a few function names still in error messages.