add numeric check on payloads