Corrections to fetchURL method