Download working for every downoad but not deletiing rows