fix variable ambiguous name