fixed payload size check