fix bug in upgrading popthumbs