disable exception and error showing