fixing links and margins