remove dicarded command