fixing xp event