fix for debug build.