AppController fix