replace spaces in data name with underscore