removed invalid commands