free pointer, rm obsolete var