fixing the erb template