fixed issue #23 and fixed problem when file had no titles
bump version to 1.0.1