Fixed error response format