sse3 support and fix memleak