change type detection fixes