convert strings to bools