MAde rewrite method case insensitive