Fix a bug when parsing arguments

finish_args should be called before using renderer_arg.