fix case insensitivity