fix popup custom class