fixing logging
fixing logging