fix plain data handling in importData