fixing the remove from array bug
Merge branch 'master' of https://github.com/hyperkerfuffle/824