remove unneded variable asignation