fix recently introduced bug in publishing apps to exchange