windows XP compatibility fixes