Fix issue with Application Controller not loaded sometimes.