fixing links on views