fix for testing in non-Debug