fixed index in getHeadlines