fix the code for standard response