fixed issues Memory Leak, add register syntax for x64