fixed Chase bug
fixed indexing bug