cognito sync fixes