sunset: fix ticks generation