hack to make preselection work