fix for uploadrocket.net and hugefiles.net