Fixed a bug in import