solve a stupid field name error for db.select_random