removing opts local