fixed error on no body data