fix reccursive parse ast error