fixed UI error to show csv output