fixed pollfallback and globally exposed callback