fix excessive gc,
improve output