fix FxCop issue when debug build