improved the "refuse options" code a bit