Minor fix

- Fixing promise rejection from `data.sync()`