fixed loading issue. fixed ipad popover issue