fix problem with patch download