remove errant function call outside of any function def