fix popup attr