fix area selection problem