remove method in ResolveFailed has been commented.