rm listener: use '*' to remove the mode