quasi bug fixing for popular sorted by media type