handle bad option