fixed crazy ass scoping; Guido you asshole