fixes lexically bound functions being called by outside code
closure will win stack now