Some strange errors on production server, trying to avoid them