Fixed bug that linked to DLLs