fixed JS error during feed refresh