khi memory leak
fix many bugs
Merge remote-tracking branch 'origin/master'