fix in calculation
conditional add to ticklist