fix the ivod function
fix entry bug