Fixed tick bug