Fixed a routing issue with getOptions