squash npe
very minor
Filter out local attributes/control structure variables from outline
for #734