started to work on fixing pipes ids, for #1745