fix erb syntax check