remove unnecessary assignment