fix erb syntax for variables