(feat) fixed space and new line in pendingFactory