fixed typo and slightly widened access to listeners