added favorites validation