fixed index out of bound error
Merge branch 'master' of https://github.com/eddies5/morpheus-web