fix region selection boundry