remove useless assignment