fix for https://github.com/iwonbigbro/gsync/issues/66