fix analysis to 2D