fix variable name in details.server assignment