Fixed some uptime bugs.