fixed registration failure