correcting wget issues