fixing tick value