fix shape constructors