fix bug preventing favorites