tried to bug fix the controller