bug fixed for Set Reference Resolve