Fix clone check