fix issue with readResolve