check if chunknumber exists before numeric check
Merge pull request #18 from ysangkok/master

check if chunknumber exists before numeric check