Fixed XP registry problem