adapt app_ctrl_* to app_msg stuff;