fix windows format problem on login