fix null publisher value passed when fetching devices