fix param selection issue