fixed master schedule bug