fix error when custom data in push notifications is only a value