fixed var scope
removed print relay
re-add sector pull