fixed data parsing for the plugin