fixing isIdOrigin param