fixed principality warning