making gender string to enum conversion case insensitive