modify parser for vm