fixed inconsistent states between clients