fixing options error