fix trigger when no listeners