Changed getMetal to ignore case