handle missed cmd.retcode statement