bugfix in Square constructors