fix of TypeError: Cannot read property '0' of undefined
Merge pull request #65 from tu1ly/master

fix of TypeError: Cannot read property '0' of undefined