fixed negative walltime issue (bug 1319)