fixed typo in setindex