HLMdiag works with this simple patch