added fix in controller for minification problem in prod