better parsing of uptime