case mismatch causes an error in a linux env