Fix AppController