cleanup app-controller