Error in writing out the final table

Forgot the add the name of the data variable being written !