fixed party system revert (code was messed up)