fixed datafile ticks issues