fix effects index