Fix ASAN issue