application controller fix