fixed bug in import parsing