Fixed waitUntil variable