improve dll loading