fix registry pattern include