default detection