fix a bug in import clause