dont crash on wrong data-type