removes old variable from hash grid. requires make clean, or else it will seg fault