fix variable overriding

fix variable overriding which stopped --xxx=yyy from working (--xxx yyy still worked)