fix duplicate name var