Fixed application controller error