fix error in sync which overwrite webdavconnection var