Fixed erb syntax in a few places