fix head > title could not be extracted. closes #47