fixed minor bug in get_titles: needed to strip out backslash