fixed bug on filters and download to csv