[AS] fix clicking to download file if no file is available