eliminate superfluous temporary string

Change-Id: Ie58701754c7be68ba5a9109153312ed152ea293f