changed the errors to all be under the same key