browser: fix undefined `name` variable