removed Id type changed tag name
if stmt is nil, can't close without panic :(
fixed zero value panic