minor timing bug.