fix favorites bug