fix dll_name not set before usage