settings pointer to null on unlock