Fix synhronization bug[