avoid hardcoded payloadtype