fixed syntax erb errors