remove unused variable redefinition