Fix for logging error (Krys)