fixed syntax error on previous adjustment to delay