fixed  detection