Bugs fixes in Pypeline
Various bug fixes