remove duprecatation with ERB and Layout