remove some useless sprintfs