debugged append in partitioning plans