add no data found error handling, fix create-csv script;