pls dont use iostream but SG_SPRINT