minor debugs in error messages