minor fixes in popup