fixed dll stuff