diff --git a/src/hooks/use-profiles.ts b/src/hooks/use-profiles.ts
index 9b49df2230885431c210819ffe5b27a8f9a0596c..4ecd772132c1f6a0bc259835a2108570dadfbe5c 100644
--- a/src/hooks/use-profiles.ts
+++ b/src/hooks/use-profiles.ts
@@ -32,7 +32,7 @@ export const useProfiles = () => {
     if (!profileData || !proxiesData) return;
 
     const current = profileData.items?.find(
-      (e) => e.uid === profileData.current
+      (e) => e && e.uid === profileData.current
     );
 
     if (!current) return;
@@ -70,7 +70,7 @@ export const useProfiles = () => {
 
   return {
     profiles,
-    current: profiles?.items?.find((p) => p.uid === profiles.current),
+    current: profiles?.items?.find((p) => p && p.uid === profiles.current),
     activateSelected,
     patchProfiles,
     patchCurrent,