fix NPE when parse number