more assertion checks
unload
cleanup