correct html and sync sendinh