One last fix to setInterval() code