Fix serializer bug could loop in makeUpPrefix