removed useless setTimout, log