Fixing the html to send the right data