fixed csv download button bug