fix sub convert_boolean