only try to convert body if there is one