fixing typo and \listofalgorithms spacing