fixed bug on importing csv