fixed wrong use of db_get_table()