fix minification for richshawDirective