get options correctly