fixed bug where code only returned 1 sentence from each doc (indentation issue)