fix bug

fix bug when no area checkbox is checked