handle bad options