fix the html for the database