set name if creating from url