fixed the plugin parser to handle multi line statements