added CheckLineScope