Fix application controller