Fix delay time error