fix bug in import