fix subselecting