fix area comparator