Fixes the freaking index.