remove unused indexById for dam and contents