remove debug output, change error message text