fix uptime parsing