fixing editing links and views