fix strip method if name is nil to default to db key