save and restore context around the positionContext method
save and restore context around the positionContext method