fix dereference level for uniq ptr