fix problem of index not created at entry save.