Fix error responses