move option checking to setOptions, not the bin