fix bug import preview