fix for fix pp index. for #224