fixed error unselecting items