fix memory_test
resolve
ldflags typo fix