Fix references to appctrl