Fix case insensitivity problem