removing typeindex