using DB, error when symbol is in query