fix max age units conversion to long