fixing bug with download icon display for citations and regular files