fixed issue with options