Fixed small issue with generate csv UI