silencing standard error messages