small change to payload detector