remove erb duplications after haml