fixed how data pipes are built and registered