changed szbuffer