fix get dbcur when unread_results exists