remove useless variable setting