fix downloadBtn bug