Use correct tick variable