Fixed Geometry (Array index 0) Bug