correct string to bool conversion.