working on the bugs in the path serializer