correct player id assignment and sync