fixed dll architecture problem