remove var dump and fixed listener