Fixed xp permission