Small fix with sync