fix elements selection