fixing erb template