adapter: fixed selection if empty