fixed #1
idx update