Fixed settings bug after breaking out import func

Fixed settings bug after breaking out switchking import function