Fix some assignment issues regarding immutable type in for Analyzer Result