fixed libfetch bug