some fixes in PlayerEditState