added method to remove a specific listener