fix popup width bug