Fix duplicate command line parameter issue