Fix shape config