Cleaned dereferenced global variables from useage flow