[ABM] remove images when eraseInstance + fix bug