ensure that bad data does not break the call