fix wget bug