Fix undefined method error favorites