change an intializing way of yparser