remove obsolete listener