fixing duplicate options