fix listeners null exception