repair response on error, null pointer Exception and edit send files