rewrite wrong variable name