fixed bug on axis ticks