fix erb deprecated variable access syntax