fixed bug in import