corrected intervals and debug drawing off