fix duplicate loggingkernel exception