Fix shape data