parser speed up via map function replace