Fixes a bug with lingering variables