Error checking and tweaking xp system