Fixed bug with wrong dll reference