Fix Bug when importing from main page