fixed all red tests, regarding logging