fixed checkbox bug and chart resize