fixed bug on response