rewrite operator resolving inside stubs
preparing for operator resolving