fix useless assignment.