rest response issue fixed