fix ticking