fix bug in computing uptime