check for empty region