minor bugfix in erb file ruby output