fixes tryResolve output