improve performance of favorites page