fix RAssert(on release mode)