fixed memory leak my removing component listener