remove detecting code