register server bugs: fixed