Fix ApplicationController