Fix bug of ITQ