Fix mistake in registration attempt