fix responce from server if file not found