fix realtimer