fix of the application controller