fixed pinSchedule, ran out of memory again