changed bad options to throw