this is needed for the controller to work right