fix bug in rake task data:import