Remove gear before override gear assignment