deletes commands more consistently