small change to proximity controller.