Fixing profile that gets stuck on tree