fixed scheduleview bug