Fixed wrong extension registration