putting back spaces in embedded sample data