fix a bug that selected packages are not correct after switching execute...

tct-156 tct-203  they are same bugs.