fix invalid import data preventing from revalidate