fix to runDetail controller, now supports minification