fixing order index for admin