fixing issue #170 by using setInterval call