App controller fix