fix for downloading with params