issue with the shape class returning geometry