cleaning old commands