Fixing the spewing of errors