fix product without pse in loop