fixes some links and csv download