fix bug for windows printf