use six.string_types