Bugfixes on haloplex pipeline