fix db release issue