Fix license registration call