fixed typo's and index-mistake