Fixes small bug with adding delays