erb cleanup