bugfix of https://github.com/xaionaro/clsync/issues/44