changed DEBUG logging to ERROR