when you edit the charactor and select main charactor, the old main charactor is still checked as main as well and doesn't change which is main. Maybe have a function in the code to deselect all and use the sumitted one if differant. Or something like that. :)