fix custom dimensions