cleanup
fixed outofbounds exception
Merge remote-tracking branch 'origin/master'