fix route not exsiting empty response from the server