fixing bug with identity loop overwriting real loop