handle bad calls