logging
workaround for bug in OS X Heimdal
more work