Fix bug: registration provider