adding some changes for Windows XP