fix bug with select symbols from db