fix string to boolean