minor cleanup; added forgotten useragent init