timer fix

works in console !!!