fix cmd execution engine