Fixed errors in schedule