resize chart + fix bug html