fix logic error in payload status code