adjusted the controllers so they can work with minification