restrict payload to be no longer that 4 bytes