streamlined _setGeometry and added warning