Fixing indices