fix bug where symbols are stored and sanitized