Fix detection