adjust the setTimeout times