small bug fixed in popup.html