small error fixed maxDelayTime