resolved: remove unused variables
resolve-host: use correct format specifier