Fixed a bug that calling 'solve' with wrong argument when DEFAULT_ARG is 0