fixed bug prevent options to be used