fix useless assignment