Fixup for tick function