[feat] preserve origin scope between resolve calls to serve parent expressions with reference to child variable properly