fix register partition and prepared for new client