fix user callback to use apps wrapper.