added first-symbol-check in _parseTemplate