logic oops in the entity tick counter logic