restored expand-region