fix erb file