fixing a bug in WFP importer