small registration fixes