fix bug: unload helper