added rand in creating index name
issue raise when working with db prefix or using single database with multiple app via prefix