fix controller and use grunt