Fix application controller implementation