fixed templating to display sent data