erb had missing square brackets