fix atol usage