fix registry server problem