infinite loop mistake fixed
fix mistake with first commutation