Bug fixes to downloading paper from URL