fix tick method