improve duration precision