fixed repeated contract uptime bug