fix a unnecessary assignment