fixing up error messages to match new resource style error message