popularity bug fix