fix syntax error in erb