fix bug that cann't import files