fix the deletion of passwords