fixed html compile and sync