Fixed ticks problem