fix appl controller