Fixed repeated log in windows