make sync windows compatible