setTimeout arguments were in wrong order