properly detecting rebar