fix deselect on bg click
use ids first
wip