Fixed the delayFor handling