fix controller not being minifiable