minor changes in error responses