trying to find error on index 17