client registration fixes