fix multiplayers' bug