Fix bug where delay goes to 0