Duplicate AppContext Problem Fix