fixed bug when options are less than two