fixed return value in response to client