fix issue: leak connection
merge code