small fix for sync errors