fixed wrong attribute when importing to postgis