check if chunknumber exists before numeric check

fix #18