fix controller front end