change some errors to debug output