bug in determing change type was fixed.