registration fixes