fixed an issue which led to changes before the first sync being lost