clear workspace before sync