Fixes things for create cool indexes