unexpected character removed to avoid PHP syntax error