Make put use auto ref