small change to primBox.select