clearing the pwd entry