fix cleanshapes