fix bugs of parsing map function