fixed bug in pre.cluster with output file name change and other bugs while testing 1.29.0