fixed links and some errors