fix application controller