fix a bug not sync