remove fprintf in checks