fixed delegate order, trying to track down UI exception bug