udf fix - selection

attempt at fix for udf selection - staff only