remove delayMillis conf
correct some uncomfortable code