fixed wget check