Delete excess commands