Fixed problem with order of red and ind