fix remove function
and remove indexOf dependency
spelling
bump version