remove useless variable assignation