Refactor sync.less