fixed major bug that prevented geometry creation