fixed a bug in the download view