fixed failure to load in popups