modified max number of listeners