removed printing error messages