Index: fixed problem on index locking