removed unused dependencies in controller.