fixes a bug that may delete the entire shape folder