fixed some wget issues