clean the response