prevent server crash when payload is missing