fix links template and a styles