Bug fix for extension registration process