Fix minor problems in ushape base.