FIX of the removeListener that did not work