Prevent ArrayIndexOutOfBoundsException #17

Open
import_user_oitsjustjose_95mQ wants to merge 1 commit from github/fork/Kraise/master into master