classChanged fix