Fixes if conditions of edit profie