fix bug in old wfs import