fix popup view controller