remove instance may be invoked twice
Merge branch 'master' of https://github.com/AdeleResearchGroup/ApAM
Merge branch 'master' of https://github.com/AdeleResearchGroup/ApAM