Get options correctly from dict