repair addons class issue