Restore default_target setting, kill last_root_cmd variable and just use the last_channel variable, like for any other user.