Fix mistaken variable in popup