created unique indexs