fix transaction hbm
add save transaction