Fix controller for minification - from eeskildsen