prevent crash on invalid data
missing return