fix parse_args for actions and plot