Fixed miliseconds counting