ensure jet database is properly detached when opening it fails, add depth column to block structure