ast: store ctx fix