bug fixed,printschedule function