fix links and some errors