removing the wrong commands