patch on process_on_UItarget option 

patch to correctly process process_on_UItarget option