fix removing of loops - set(id, null)
2.1.1