fix CLI flags.