fix operations with phinode