solve two problems with initial selected area
fix in widget