fix links and views