Fixed hanging pointer.