fix case insensitivity for registered functions