clean up
bugfix: del scheduleBlocks