Fix error checking in callback syncs