clear removecommands when guard cleared