fixed bug with index result transform