fix for 2D limits