stricter error checking for indexCopy
1 file changed