enable_lag and _DEBUG macro